package site.mingdao.boot.excel.plugin.dict.config;

import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;
import site.mingdao.boot.common.biz.dict.DictDataCommonApi;
import site.mingdao.boot.excel.plugin.dict.core.DictFrameworkUtils;

@AutoConfiguration
public class DictAutoConfiguration {

    @Bean
    @SuppressWarnings("all")
    public DictFrameworkUtils dictUtils(DictDataCommonApi dictDataCommonApi) {
        DictFrameworkUtils.init(dictDataCommonApi);
        return new DictFrameworkUtils();
    }

}
